<script type="text/javascript" language="javascript" src="/gaf/js/common.js"></script>
<link rel="stylesheet" type="text/css" href="/gaf/css/base.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/common.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/table_def.css" />
<p>酒店管理/酒店列表列表</p>
<ul class='mt10'>
	<li><a href='/hotel/hotel/addhotel'>新增酒店</a></li>
</ul>
<?php require_once('views/msg.phtml');?>
<?php	echo $this->ArrayGrid($this->hlist,$this->page,20,
		 		array('hotelname'=>'酒店名','recommend'=>'推荐等级','hotellevel'=>'酒店等级','hoteladdr'=>'酒店地址','pv'=>'点击量'),
				array(	
					'act_title' => '操作','act_key'=>'hotelid',
		 			'act_list'  => array(
		 					array(
		 						'title'=>'查看修改',
		 						'url'=>'/hotel/hotel/gethotel',
		 						),
		 					array(
		 						'title'=>'添加相册',
		 						'url'=>'/hotel/hotel/addgallery',
		 						),
		 					array(
		 						'title'=>'客房信息',
		 						'url'=>'/hotel/hotel/addhotelroom',
		 						),
		 					array(
		 						'title'=>'删除',
		 						'url'=>'/hotel/hotel/delhotel',
		 						),
		 			)
				),
				array(
					'hotellevel'=>array('-1'=>'---','1'=>'A','2'=>'AA','3'=>'AAA','4'=>'AAAAA','5'=>'AAAAA'),
					'recommend'=>array('0'=>'不推荐','1'=>'首页','2'=>'二级页面')
				)	
			 );